#ifndef USER_H
#define USER_H
#include<string>
#include<iostream>
class User
{
    public:
        User(string logiName="",string loginPassword="");
        virtual ~User();
        void setLoginName(string loginName);
        void setLoginPassword(string loginPassword);
        string getLoginName();
        string getLloginPassword();
        static int getCount();
        void readFromFile(fstream &);
        void writeToFile(fstream &)const;
    protected:
        string loginName;
        string logPassword;
};

#endif // USER_H
